package com.zyy.zyy.service.impl;

import com.zyy.zyy.dao.IndexMapper;
import com.zyy.zyy.dataobject.*;
import com.zyy.zyy.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class IndexServiceImpl implements IndexService {
    @Resource
    private IndexMapper indexMapper;

    @Override
    public List<DataDO> selectIndexNews() {
        return indexMapper.selectIndexNews();
    }

    @Override
    public List<DataDO> selectIndexNotice() {
        return indexMapper.selectIndexNotice();
    }

    @Override
    public List<DataDO> selectIndexPolicy() {
        return indexMapper.selectIndexPolicy();
    }

    @Override
    public List<DataDO> selectIndexGuide() {
        return indexMapper.selectIndexGuide();
    }

    @Override
    public List<Hosp> selectIndexHosp() {
        return indexMapper.selectIndexHosp();
    }

    @Override
    public List<Specialty> selectIndexSpecialty() {
        return indexMapper.selectIndexSpecialty();
    }

    @Override
    public List<ChineseMedicine> selectIndexDoctor() {
        return indexMapper.selectIndexDoctor();
    }

    @Override
    public List<Map<String, Integer>> selectIndexDevelopTecSerOrgDOList() {
        return indexMapper.selectIndexDevelopTecSerOrgDOList();
    }

    @Override
    public List<IndustrialDevelopSciAchiDO> selectIndexIndustrialDevelopSci() {
        return indexMapper.selectIndexIndustrialDevelopSci();
    }

    @Override
    public List<IndustrialDevelopCooExcDO> selectIndexindustrialDevelopCooExcDO() {
        return indexMapper.selectIndexindustrialDevelopCooExcDO();
    }

    @Override
    public List<IndustrialDevelopTalRecDOWithBLOBs> selectIndexIndustrialDevelopTalRecDO() {
        return indexMapper.selectIndexIndustrialDevelopTalRecDO();
    }
}
